#ifndef RESIGERWIDGET_H
#define RESIGERWIDGET_H

#include <QWidget>
#include <QFileDialog>
#include <QDebug>
#include <QMessageBox>
#include <QFileInfo>
#include <QImage>
namespace Ui {
class ResigerWidget;
}

class ResigerWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ResigerWidget(QWidget *parent = nullptr);
    ~ResigerWidget();
    bool copyFileToPathA(QString sourceDir ,QString toDir, bool coverFileIfExist);

signals:
    void sendDisWidget(QString );

protected:

    virtual void showEvent(QShowEvent *event);
    virtual void paintEvent(QPaintEvent *event);

private slots:
    void on_pushButton_a_clicked();

    void on_pushButton_b_clicked();

private:
    Ui::ResigerWidget *ui;
    QString fileName;
    QString exePath;
    QImage m_image;
};

#endif // RESIGERWIDGET_H
